//
//  CellModel.h
//  test
//
//  Created by huichen on 2018/6/5.
//  Copyright © 2018年 huichen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface CellModel : NSObject

@property(nonatomic,strong)NSString *title;
@property(nonatomic,assign)CGFloat titleWidth;
@property(nonatomic,assign)CGFloat titleHeight;

@property(nonatomic,strong)UIColor *bgColor;
@property(nonatomic,strong)UIColor *textColor;
@property(nonatomic,strong)UIColor *borderColor;
@property(nonatomic,assign)CGFloat borderWidth;


@property(nonatomic,assign)CGFloat fontSize;

/*
 *默认式样
 *
 */
- (instancetype)initWithTitle:(NSString *)title;


/*
 *指定式样
 *
 */
- (instancetype)initWithTitle:(NSString *)title
                     fontSize:(CGFloat)size
                      bgColor:(UIColor *)bgColor
                    textColor:(UIColor *)textColor
                  borderColor:(UIColor *)borderColor
                  borderWidth:(CGFloat)borderWidth;

@end
